<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Layout</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="{{asset('manger/plugins/layui/css/layui.css')}}" media="all" />
    <link rel="stylesheet" href="{{asset('manger/plugins/font-awesome/css/font-awesome.min.css')}}" />
    <link rel="stylesheet" href="{{asset('manger/css/layout.css')}}" media="all" />
</head>

<body>
<div class="layui-layout layui-layout-admin beg-layout-container">
    <div class="layui-header beg-layout-header">
        <div class="beg-layout-main beg-layout-logo">
            <img src="logo.png">

        </div>
        <div class="beg-layout-main beg-layout-side-toggle">
            <i class="fa fa-bars" aria-hidden="true"></i>
        </div>
        <!--一级菜单-->
        <div class="beg-layout-main beg-layout-menu" id="menu">
            <ul class="layui-nav beg-layout-nav" lay-filter="">
                <li class="layui-nav-item layui-this">
                    <a href="javascript:;" data-module-id="1">
                        <i class="fa fa-desktop" aria-hidden="true"></i>
                        <cite>内容管理</cite>
                    </a>
                </li>
            {{--    <li class="layui-nav-item">
                    <a href="javascript:;" data-module-id="2">
                        <i class="fa fa-paper-plane" aria-hidden="true"></i>
                        <cite>设置</cite>
                    </a>
                </li>--}}
            </ul>
        </div>
        <div class="beg-layout-main beg-layout-panel">
            <ul class="layui-nav beg-layout-nav" lay-filter="user">
                <li class="layui-nav-item">
                    <a href="javascript:;" class="beg-layou-head">
                        <img src="{{asset(\Illuminate\Support\Facades\Auth::user()->avatar)}}" />
                        <span>{{\Illuminate\Support\Facades\Auth::user()->name}}</span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;" data-tab="true" data-url='{{route('admin.user_info')}}'>
                                <i class="fa fa-user-circle" aria-hidden="true"></i>
                                <cite>@lang('message.user_info')</cite>
                            </a>
                        </dd>
                        @can('modify_password')
                        <dd>
                            <a href="javascript:;" data-tab="true" data-url="{{route('admin.modify_password')}}">
                                <i class="fa fa-gear" aria-hidden="true"></i>
                                <cite>@lang('message.modify_password')</cite>
                            </a>
                        </dd>
                        @endcan
                        <dd>
                            <a href="{{route('admin.logout')}}">
                                <i class="fa fa-sign-out" aria-hidden="true"></i>
                                <cite>@lang('message.logout')</cite>
                            </a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>
    <!--侧边导航栏-->
    <div class="layui-side beg-layout-side" id="side" lay-filter="side"></div>
    <!--内容区域-->
    <div class="layui-body beg-layout-body">
        <div class="layui-tab layui-tab-brief layout-nav-card" lay-filter="layout-tab" style="border: 0; margin: 0;box-shadow: none; height: 100%;">
            <ul class="layui-tab-title">
                <li class="layui-this">
                    <a href="javascript:;">
                        <i class="fa fa-dashboard" aria-hidden="true"></i>
                        <cite>控制面板</cite>
                    </a>
                </li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <iframe src="{{route('admin.setting')}}"></iframe>
                </div>
            </div>
        </div>
    </div>
    <!--页脚-->
    <div class="layui-footer beg-layout-footer">
        <p>2016 &copy;
            <a href="http://www.hnkeystone.com/">wwww.hnkeystone.com</a>
        </p>
    </div>
</div>
<script src="{{asset('manger/plugins/layui/layui.js')}} "></script>

<script src="{{asset('manger/js/layout.js')}} "></script>
</body>

</html>